package com.fc.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "zf")
public class AutoCodeConfiguration {
    /**
     * 驱动类
     */
    private String driver = "com.mysql.cj.jdbc.Driver";
    /**
     * jdbc连接
     */
    private String url = "jdbc:mysql://localhost:3306/shiro?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT";
    /**
     * 用户名
     */
    private String username = "root";
    /**
     * 密码
     */
    private String password = "123";

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
